package com.isoft.airportsystem.util;

import java.util.List;

// 通用的分页结果封装类，可根据实际情况扩展
public class PageResult<T> {
    // 总记录数
    private long total;
    // 当前页数据列表
    private List<T> list;

    public PageResult(long total, List<T> list) {
        this.total = total;
        this.list = list;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}